import {api} from "@/utils/request";

// 根据邮箱号重置密码

export const resetPassword = (email) => {
return api({
    url: "sys/resetPassword?email=" + email,
    method: "get",
});


}


export const  sendSysCode=(code,email)=>{
    // 根据邮箱号重置密码
    return api({
        url: "sys/sendSysCode",
        method: "get",
        params:{
            code:code,
            email:email
        }
    });
}


export const sendSysPassword=(data)=>{
    return api({
        url: "sys/sendSysPassword",
        method: "post",
        data
    })
}











